This will allow to implement the expanding rows pattern.
border-color: $backdrop_borders_color;
}
- row { padding: 2px; }
+ row:not(.expander) { padding: 2px; }
+ row.expander .row-header { padding: 2px; }
}
row {
label:backdrop { color: #969696; }
-.dim-label, label.separator, .titlebar:not(headerbar) .subtitle, headerbar .subtitle { opacity: 0.55; text-shadow: none; }
+.dim-label, label.separator, spinbutton:not(.vertical) placeholder, entry placeholder, .titlebar:not(headerbar) .subtitle, headerbar .subtitle { opacity: 0.55; text-shadow: none; }
assistant .sidebar { background-color: #26232d; border-top: 1px solid #2a2a2b; }
spinbutton:focus:not(.vertical), entry:focus { box-shadow: inset 0 0 0 1px #15539e; border-color: #092444; outline: none; }
+spinbutton:focus:not(.vertical) > placeholder, entry:focus > placeholder { opacity: 0; /* We hide placeholders on focus */ }
+
spinbutton:disabled:not(.vertical), entry:disabled { color: #969696; border-color: #2a2a2b; background-color: #353338; box-shadow: none; }
spinbutton:backdrop:not(.vertical), entry:backdrop { color: #d4d3d6; border-color: #2f2e2f; background-color: #282530; box-shadow: none; transition: 200ms ease-out; }
list:backdrop { background-color: #282530; border-color: #2f2e2f; }
-list row { padding: 2px; }
+list row:not(.expander) { padding: 2px; }
+
+list row.expander .row-header { padding: 2px; }
row { transition: all 150ms cubic-bezier(0.25, 0.46, 0.45, 0.94); }
label:backdrop { color: #929595; }
-.dim-label, label.separator, .titlebar:not(headerbar) .subtitle, headerbar .subtitle { opacity: 0.55; text-shadow: none; }
+.dim-label, label.separator, spinbutton:not(.vertical) placeholder, entry placeholder, .titlebar:not(headerbar) .subtitle, headerbar .subtitle { opacity: 0.55; text-shadow: none; }
assistant .sidebar { background-color: #ffffff; border-top: 1px solid #dad6d2; }
spinbutton:focus:not(.vertical), entry:focus { box-shadow: inset 0 0 0 1px #3584e4; border-color: #3584e4; outline: none; }
+spinbutton:focus:not(.vertical) > placeholder, entry:focus > placeholder { opacity: 0; /* We hide placeholders on focus */ }
+
spinbutton:disabled:not(.vertical), entry:disabled { color: #929595; border-color: #dad6d2; background-color: #faf9f8; box-shadow: none; }
spinbutton:backdrop:not(.vertical), entry:backdrop { color: #323232; border-color: #e0ddd9; background-color: #fcfcfc; box-shadow: none; transition: 200ms ease-out; }
list:backdrop { background-color: #fcfcfc; border-color: #e0ddd9; }
-list row { padding: 2px; }
+list row:not(.expander) { padding: 2px; }
+
+list row.expander .row-header { padding: 2px; }
row { transition: all 150ms cubic-bezier(0.25, 0.46, 0.45, 0.94); }